#include <iostream>
#include <vector>

using namespace std;

double add(double *i,double *j) {
    double result = 0;
    result = *i + *j;
    return result;
}

int main(int argc, char const *argv[])
{
    double last_result = 0;
    double a = 1.2;
    double b = 1.3;
    last_result = add(&a, &b);
    printf("%f",last_result);
    return 0;
}

